package com.zhiwang.planet.mvvm.model.entity

import com.google.gson.annotations.SerializedName

class RankModel(@SerializedName("list")
                var rankList: List<RankItem>,
                @SerializedName("myprofitD")//竞猜收益
                var rankProfit: String,
                @SerializedName("myrank")//排名
                var rank: String,
                // 2:已领取  1：未领取  0：未进入排名
                @SerializedName("yesterday_get")
                var rankStatus: Int)

/**
"username": "k***i",
"avatar": "http://static.ji7b.com/images/header/5.jpg",
"profit": "46613120",
"rank": 1,
"diamondRewardNum": 10000,
"reward_txt": "1万"
 **/
class RankItem(var username: String,
               var avatar: String,
               var profit: String,
               var rank: Int,
               var reward: String,
               @SerializedName("reward_txt")
               var reward_text: String)